Atomic means only one thread access the variable but nonatomic means multiple thread access the variable .Atomic is thread safe but nonatomic is thread unsafe.Atomic is fast in performance but nonatomic is slow in performance.Atomic is default behavior but nonatomic is not default behavior . we need to add nonatomic keyword in property attribute. Nonatomic may result in unexpected behavior, when two different process (threads) access the same variable at the same time.
Liked By
Write Answer
What is difference between atomic and nonatomic property specifier?
Join MindStick Community
You have need login or register for voting of answers or question.
Sunil Singh
21-Apr-2015